package com.service.dao.mapper;

import com.service.dao.model.Merchant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.po.MerchantPO;
import com.service.dao.query.MerchantQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商家信息表
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-03-28 12:54:56
 */
@Mapper
public interface MerchantMapper extends BaseMapper<Merchant> {

    List<MerchantPO> list4Admin(@Param("param") MerchantQueryParam param);

    void updateBatchMerchantStatus(@Param("ids")Integer[] ids, @Param("status") Integer status);

}
